package loppy.dynamics 
{
  import loppy.loppy_internal;
  
  public class Stats 
  {
    use namespace loppy_internal;
    
    loppy_internal var numContacts_    :uint   = 0;
    loppy_internal var numPairs_       :uint   = 0;
    loppy_internal var numBodies_      :uint   = 0;
    loppy_internal var numShapes_      :uint   = 0;
    loppy_internal var broadphaseTime_ :Number = 0.0;
    loppy_internal var narrowPhaseTime_:Number = 0.0;
    loppy_internal var totalTime_      :Number = 0.0;
    loppy_internal var fps_            :Number = 0.0;
    
    public function get numContacts    ():uint { return numContacts_    ; }
    public function get numPairs       ():uint { return numPairs_       ; }
    public function get numBodies      ():uint { return numBodies_      ; }
    public function get numShapes      ():uint { return numShapes_      ; }
    public function get broadphaseTime ():uint { return broadphaseTime_ ; }
    public function get narrowPhaseTime():uint { return narrowPhaseTime_; }
    public function get totalTime      ():uint { return totalTime_      ; }
    public function get fps            ():uint { return fps_            ; }
  }
}
